
import http from '../../utils/http/request'

//获取 Code 后进行登录
export const codeLogin = (params) => {
    return http.get('/v1/auth/codeLogin?code=' + params)
}


// 获取用户详细信息
export function getInfo() {
    return http({
      url: '/v1/auth/userInfo',
      method: 'post'
    })
  }


